<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="assets/css/layui.css">
    <link rel="stylesheet" href="assets/css/admin.css">
    <link rel="icon" href="/favicon.ico">
    <title>宠物后台管理</title>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header custom-header">
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item slide-sidebar" lay-unselect>
                <a href="javascript:;" class="icon-font"><i class="ai ai-menufold"></i></a>
            </li>
        </ul>
        <p class="datexians"></p>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <p id="user"></p>
            </li>
            <li class="layui-nav-item">
                <a href="/index">返回首页</a>
            </li>
        </ul>
    </div>

    <div class="layui-side custom-admin">
        <div class="layui-side-scroll">
            <div class="custom-logo">
                <h1>宠物后台</h1>
            </div>
            <ul id="Nav" class="layui-nav layui-nav-tree">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <i class="layui-icon">&#xe653;</i>
                        <em>宠物管理</em>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="views/upload.html">添加宠物</a></dd>
                        <dd><a href="views/goods.html">宠物列表</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-body">
        <div class="layui-tab app-container" lay-allowClose="true" lay-filter="tabs">
            <ul id="appTabs" class="layui-tab-title custom-tab" style="display: none;"></ul>
            <div id="appTabPage" class="layui-tab-content"></div>
        </div>
    </div>
    <div class="layui-footer">
        <p>© 2020 宠物后台管理系统：<a href="/index" target="_blank">宠物商城</a></p>
    </div>
    <div class="mobile-mask"></div>
</div>
<script src="assets/layui.js"></script>
<script src="admin.js" data-main="home"></script>

<script>
    layui.use(['layer', 'jquery'], function () {
        var $ = layui.jquery,
            layer = layui.layer;


        $.get("/findLoginInfo", {}, function (r) {
            $("#user").text("商家:" + r);
        });


    });


</script>
</body>
</html>